
public class GameDriver 
{
	public static void main(String[] args)
	{
		StatusModel sm = new StatusModel();
		StatusView sv = new StatusView(sm);
		StatusController sc = new StatusController(sv, sm);
		MainPlayerModel mm = new MainPlayerModel();
		MainPlayerView mv = new MainPlayerView(mm);
		MainPlayerController mc = new MainPlayerController(mv, mm);
		StoreModel stm = new StoreModel();
		StoreView stv = new StoreView(stm, mm);
		InventoryModel im = new InventoryModel();
		InventoryView iv = new InventoryView();
		InventoryController ic = new InventoryController(im,iv);
		StoreController stc = new StoreController(ic, mc, stv, stm);
		MainView mainView = new MainView();
	
		 while(!mc.hasUserPressedNext())
         {
                 mv.setVisible(true);
         }
         mv.setVisible(false);
         
         
         while(!sc.isUserDone())
         {
                 sv.setVisible(true);
         }
         sv.setVisible(false);
         
         
         while(!stc.hasUserPressedBuy())
         {
                 stv.setVisible(true);
         }
         stv.setVisible(false);
         
         mainView.setVisible(true);
         
		/*
		mv.setVisible(true);
		while(!mc.hasUserPressedNext()) {}
		mv.setVisible(false);
		
		sv.setVisible(true);
		while(!sc.isUserDone()) {}
		sv.setVisible(false);
		*/
	}
	
	public static void test()
	{
		System.out.println();
	}
}
